package com.chinameyer.workorders.dto.orders;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author meyer@HongYe
 */
@Data
public class AddStaffAndTimeDTO {
    @NotNull(message = "工单ID不能为空")
    private int orderId;
    @NotBlank(message = "姓名不能为空")
    private String staff;
    @NotBlank(message = "工时不能为空")
    private String time;
}
